package uk.ac.cam.echo.messages;

import java.util.List;

import uk.ac.cam.echo.ScheduleEvent;

/**
 * @author Tom Smith
 */
public class ScheduleMessage extends Message {

	private static final long serialVersionUID = 1L;
	
	private List<ScheduleEvent> m_Schedule;
	private final int m_Amount;
	private final String m_LocationRFID;
	
	public ScheduleMessage(String rfid) {
		this(rfid, 10, null);
	}
	
	public ScheduleMessage(String rfid, int amount, String locationRFID) {
		super(rfid);
		this.m_Amount = amount;
		this.m_LocationRFID = locationRFID;
	}
	
	public int getAmount() {
		return this.m_Amount;
	}
	
	public String getLocationRFID() {
		return this.m_LocationRFID;
	}
	
	public void setSchedule(List<ScheduleEvent> list) {
		this.m_Schedule = list;
	}
	
	public List<ScheduleEvent> getSchedule() {
		return this.m_Schedule;
	}

}
